<tem>
	
<!-- 详情模板 -->
<div class="template detail-info" id="detail_template">
	<div class="panel-body no-tb-padder">
		<form class="bs-example form-horizontal xs-form" id="query_form">
			<div class="form-group">
			    <label class="col-lg-4 control-label">安全策略名称：</label>
			    <label class="col-lg-8 control-label tl" data-id="alarmName"></label>
			</div>
			<div class="form-group"> 
			    <label class="col-lg-4 control-label">匹配规则：</label>
			    <label class="col-lg-8 control-label tl" data-id="matchCriteriaValue"></label> 
			</div>
			<div class="form-group">
			    <label class="col-lg-4 control-label">最大限定时间：</label>
			    <label class="col-lg-8 control-label tl" data-id="alarmTimeout"></label>
			</div>
			<div class="form-group"> 
			    <label class="col-lg-4 control-label">最大聚合次数：</label>
			    <label class="col-lg-8 control-label tl" data-id="countThreshold"></label> 
			</div>
			<div class="form-group">
			    <label class="col-lg-4 control-label">事件频率：</label>
			    <label class="col-lg-8 control-label tl" data-id="alarmFrequencies"></label>   
			</div>
		</form>
	</div>
</div>

<!-- 编辑模板 -->
<div class="template" id="edit_template">
	<div class="panel-body no-tb-padder">
		<form class="bs-example form-horizontal xs-form" id="query_form">
			<div class="form-group">
			    <label class="col-lg-3 control-label">安全策略名称：</label>
			    <label class="col-lg-9 control-label tl" data-id="alarmName"></label>
			</div>
			<div id="match_rule_div">
				<div class="form-group">
					<div class="border-text">
					  	<div>匹配规则</div>
					</div>
					<div class="col-lg-3">
						<div class="checkbox">
						  <label class="i-checks">
						    <input type="checkbox" name="matchCriteria" data-id="matchCriteria" data-name="事件等级"><i></i> 事件等级
						  </label>
						</div>
					</div>
					<div class="col-lg-3">
						<div class="checkbox">
						  <label class="i-checks">
						    <input type="checkbox" name="matchCriteria" data-name="事件类型"><i></i> 事件类型
						  </label>
						</div>
					</div>
					<div class="col-lg-3">
						<div class="checkbox">
						  <label class="i-checks">
						    <input type="checkbox" name="matchCriteria" data-name="设备种类"><i></i> 设备种类
						  </label>
						</div>
					</div>
					<div class="col-lg-3">
						<div class="checkbox">
						  <label class="i-checks">
						    <input type="checkbox" name="matchCriteria" data-name="设备类型"><i></i> 设备类型
						  </label>
						</div>
					</div>
				</div>
				<div class="form-group">
					<div class="col-lg-3">
						<div class="checkbox">
						  <label class="i-checks">
						    <input type="checkbox" name="matchCriteria" data-name="日志编号"><i></i> 日志编号
						  </label>
						</div>
					</div>
					<div class="col-lg-3">
						<div class="checkbox">
						  <label class="i-checks">
						    <input type="checkbox" name="matchCriteria" data-name="协议"><i></i> 协议
						  </label>
						</div>
					</div>
					<div class="col-lg-3">
						<div class="checkbox">
						  <label class="i-checks">
						    <input type="checkbox" name="matchCriteria" data-name="发生源IP"><i></i> 发生源IP
						  </label>
						</div>
					</div>
					<div class="col-lg-3">
						<div class="checkbox">
						  <label class="i-checks">
						    <input type="checkbox" name="matchCriteria" data-name="代理ID"><i></i> 代理ID
						  </label>
						</div>
					</div>
				</div>
				<div class="form-group">
					<div class="col-lg-3">
						<div class="checkbox">
						  <label class="i-checks">
						    <input type="checkbox" name="matchCriteria" data-name="源IP"><i></i> 源IP
						  </label>
						</div>
					</div>
					<div class="col-lg-3">
						<div class="checkbox">
						  <label class="i-checks">
						    <input type="checkbox" name="matchCriteria" data-name="源端口"><i></i> 源端口
						  </label>
						</div>
					</div>
					<div class="col-lg-3">
						<div class="checkbox">
						  <label class="i-checks">
						    <input type="checkbox" name="matchCriteria" data-name="目的IP"><i></i> 目的IP
						  </label>
						</div>
					</div>
					<div class="col-lg-3">
						<div class="checkbox">
						  <label class="i-checks">
						    <input type="checkbox" name="matchCriteria" data-name="目的端口"><i></i> 目的端口
						  </label>
						</div>
					</div>
				</div>
				<div class="form-group">
					<label class="col-lg-3 control-label">最大限定时间：</label>
					<div class="col-lg-4 tl">
						<input type="text" class="form-control input-sm" data-id="alarmTimeout" validate="required,between60~86400">
					</div>
					<label class="col-lg-1 control-label tl" style="padding-left: 0">(秒)</label>
				</div>
				<div class="form-group">
					<label class="col-lg-3 control-label">最大聚合次数：</label>
					<div class="col-lg-4 tl">
						<input type="text" class="form-control input-sm" data-id="countThreshold" validate="required,between0~2147483647,number">
					</div>
				</div>
			    <div class="form-group">
					<label class="col-lg-3 control-label">事件频率：</label>
					<div class="col-lg-4 tl">
						<input type="text" class="form-control input-sm" data-id="minThreshold" validate="required,between0~2147483647,number">
					</div>
					<div class="col-lg-1" style="padding:4px 7px;width: auto;margin-left:-16px">/</div>
					<div class="col-lg-3 tl" style="padding-left: 0;width:160px;">
						<input type="text" class="form-control input-sm" data-id="minLimit" validate="required,between0~6000,number">
					</div>
					<label class="col-lg-1 control-label tl" style="padding-left: 0;padding-right: 0">(条/秒)</label>
				</div>
			</div>
		</form>
	</div>
</div>

<!-- 导入模板 -->
<div class="template" id="import_template">
	<div class="panel-body no-tb-padder">
		<form class="bs-example form-horizontal xs-form" id="query_form" enctype="multipart/form-data">
			<div class="form-group">
				<input type="hidden" name="formJson">
			    <label class="col-lg-3 control-label" style="padding-left: 0">选择上传文件：</label>
			    <div class="col-lg-8" style="padding-left: 0">
			    	<div data-type="ptMap" id="ptMap" class="upload"></div>
			    </div>
			    <div class="col-lg-1">
			    	<i class="icon-trash" title="取消" style="line-height:36px;font-size:14px"></i>
			    </div>
			</div>
		</form>
	</div>
</div>

</tem>